package com.pan.admin.module.area.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.pan.admin.common.annotation.Excel;
import com.pan.admin.common.core.domain.BaseEntity;

/**
 * 配置机构计划地区对象 loan_product_plan_area
 *
 * @author ts
 * @date 2023-12-28
 */
public class LoanProductPlanArea extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 机构主键id */
    @Excel(name = "机构主键id")
    private Long loanProductId;

    /** 机构计划主键id */
    @Excel(name = "机构计划主键id")
    private Long loanProductPlanId;

    /** 地区code */
    @Excel(name = "地区code")
    private String areaCode;

    /** 地区名称 */
    @Excel(name = "地区名称")
    private String areaName;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }
    public void setLoanProductId(Long loanProductId) {
        this.loanProductId = loanProductId;
    }

    public Long getLoanProductId() {
        return loanProductId;
    }
    public void setLoanProductPlanId(Long loanProductPlanId) {
        this.loanProductPlanId = loanProductPlanId;
    }

    public Long getLoanProductPlanId() {
        return loanProductPlanId;
    }
    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getAreaCode() {
        return areaCode;
    }
    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getAreaName() {
        return areaName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("loanProductId", getLoanProductId())
            .append("loanProductPlanId", getLoanProductPlanId())
            .append("areaCode", getAreaCode())
            .append("areaName", getAreaName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
